import Taro , { Component } from '@tarojs/taro';
import { View } from '@tarojs/components';
import Toast from "@/components/toast";
import MessageBox from "@/components/message-box"

class Index extends Component {

  render() {
    return (
      <View>
        <View>
          <Toast />
        </View>
        <View>
          <MessageBox />
        </View>
        <View>
          {this.props.children}
        </View>
      </View>
    );
  }
}
export default Index;